/*
 * @Author: your name
 * @Date: 2021-04-18 11:11:08
 * @LastEditTime: 2021-04-29 21:04:14
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /first_flutter_app/lib/router/app_pages.dart
 */

import 'package:first_flutter_app/views/loginPage/login.dart';
import 'package:first_flutter_app/views/orderPage/orderPage.dart';
import 'package:first_flutter_app/views/paymentPage/paymentPage.dart';
import 'package:first_flutter_app/views/tableHomePage/tableHomePage.dart';
import 'package:get/get.dart';

import 'app_routes.dart';

class AppPages {
  static const INITIAL = AppRoutes.loginPage;

  static final routes = [
    GetPage(
      name: AppRoutes.tableHomePage,
      page: () => tableHomePage(),
    ),
    GetPage(
      name: AppRoutes.orderPage,
      page: () => orderPage(),
    ),
    GetPage(
      name: AppRoutes.loginPage,
      page: () => LoginPage(),
      // bindings: [LoginPage()],
    ),
    GetPage(
      name: AppRoutes.paymentPage,
      page: () => PaymentPage(),
    ),
  ];
}
